/**
 * 路由定义
 *
 * Created by snowingsea on 2020/01/20.
 */

/**
 * Export model definition object.
 */
module.exports = (app) => {
  const prefix = `/api/${global.config.version}`;

  require('./health')(app, prefix);
  require('./oauth2')(app, prefix);
  require('./me')(app, prefix);
  require('./administrator')(app, prefix);
  require('./tester')(app, prefix);
  require('./test-manager')(app, prefix);
};
